package com.yt.app.api.vo;

import com.yt.app.core.model.AppBanner;
import com.yt.app.core.model.AppIcon;
import com.yt.app.core.model.AppTopic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "首页初始化数据", description = "")
public class IndexVo {
    @ApiModelProperty(value = "Banner", required = false)
    private List<AppBanner> banners;

    @ApiModelProperty(value = "自定义按钮", required = false)
    private List<AppIcon> icons;

    @ApiModelProperty(value = "话题", required = true)
    private List<AppTopicVo> topics;

    @ApiModelProperty(value = "上一页最后一个话题ID，用于翻页", required = true)
    private Long lastId;

    public List<AppBanner> getBanners() {
        return banners;
    }

    public void setBanners(List<AppBanner> banners) {
        this.banners = banners;
    }

    public List<AppIcon> getIcons() {
        return icons;
    }

    public void setIcons(List<AppIcon> icons) {
        this.icons = icons;
    }

    public List<AppTopicVo> getTopics() {
        return topics;
    }

    public void setTopics(List<AppTopicVo> topics) {
        this.topics = topics;
    }

    public Long getLastId() {
        return lastId;
    }

    public void setLastId(Long lastId) {
        this.lastId = lastId;
    }
}
